package com.apsfc.service.impl;

import com.apsfc.dao.MenusDao;
import com.apsfc.po.Menus;
import com.apsfc.service.MenusService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("menusService")
public class MenusServiceImpl implements MenusService {

    @Autowired
    @Qualifier("menusDao")
    private MenusDao menusDao;

    @Override
    public List<Menus> select() {
        return menusDao.select();
    }
}
